<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<script type="text/javascript">
</script>
<form action="menuManager/menuAddSubmit.shtml" class="pageForm"
	id="addForm" data-toggle="validate"
	data-callback="doAjaxCallBackForMenu" method="post"
	data-toggle="ajaxform">
		<div class="panel panel-default">
			<div class="panel-heading">新增子菜单信息</div>
			<div class="panel-body">
				<table class="table table-condensed table-hover">
					<tbody>
						<tr>
							<td><label for="typeNo" class="control-label x180">父级编号：</label></td>
							<td><input type="text" value="${menuList[0].no }" name="parentNo" readOnly="true"></td>
							<td><label for="no" class="control-label x180">编号：</label></td>
							<td><input type="text" value="${requestScope.num }" name="no" readOnly="true"></td>
						</tr>
						<tr>
							<td><label for="name" class="control-label x180">菜单名称：</label></td>
							<td><input type="text" value="" name="name" data-rule="required;length[~50]"></td>
							<td><label for="status" class="control-label x180">菜单路径：</label></td>													
							<td><input type="text" value="" name="url" data-rule="length[~50]"></td>			
						</tr>
						<tr>
							<td><label for="telphone" class="control-label x180">级别：</label></td>
							<td><input type="text" value="${requestScope.level }" name="lv" readOnly="true"></td>
							<td><label for="status" class="control-label x180">菜单ID：</label></td>
							<td><input type="text" value="" name="menuId"></td>
							<input type="hidden" name="action" value="${requestScope.action }">
						</tr>
						<!-- <tr>
							<td><label for="icon" class="control-label x180">图标：</label></td>
							<td><select data-width="200"
								class="form-control" name="icon" id="icon" data-size="10"
								data-toggle="selectpicker" data-live-search="true" data-rule="required;">
								<option data-icon="list" value="list">list</option>
								<option data-icon="table" value="table">table</option>
							</select></td>
						</tr> -->
					</tbody>
				</table>
			<div id="myBtn">
				<ul>
					<li><button type="reset" class="btn-orange" id="">重置</button></li>
					<li><button type="submit" class="btn-primary" id="myAddSubmit" onClick="refresh()">提交</button></li>
				</ul>
			</div>
			</div>
		</div>
</form>
